import request from '@/utils/request'

export function userData() {
  return request({
    url: '/statistics/user',
    method: 'get'
  })
}

export function clubData() {
  return request({
    url: '/statistics/club',
    method: 'get'
  })
}

export function eventData() {
  return request({
    url: '/statistics/event',
    method: 'get',
  })
}

export function applyData() {
  return request({
    url: `/statistics/apply`,
    method: 'get',
  })
}

export function deleteRole(id) {
  return request({
    url: `/vue-element-admin/role/${id}`,
    method: 'delete'
  })
}
